/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.ControlEscolar.enrollment;

import java.sql.Date;
import org.apache.struts.validator.ValidatorForm;

/**
 *
 * @author kossel
 */
public class EnrollForm extends ValidatorForm{

    private String studentKey;
    private int ID_Curriculum;
    private int semester;
    private String[] selectedGroup;
    private int enrollType;

    /**
     * @return the studentKey
     */
    public String getStudentKey() {
        return studentKey;
    }

    /**
     * @param studentKey the studentKey to set
     */
    public void setStudentKey(String studentKey) {
        this.studentKey = studentKey;
    }


    /**
     * @return the ID_Curriculum
     */
    public int getID_Curriculum() {
        return ID_Curriculum;
    }

    /**
     * @param ID_Curriculum the ID_Curriculum to set
     */
    public void setID_Curriculum(int ID_Curriculum) {
        this.ID_Curriculum = ID_Curriculum;
    }


    /**
     * @return the semester
     */
    public int getSemester() {
        return semester;
    }

    /**
     * @param semester the semester to set
     */
    public void setSemester(int semester) {
        this.semester = semester;
    }

    /**
     * @return the selectedGroup
     */
    public String[] getSelectedGroup() {
        return selectedGroup;
    }

    /**
     * @param selectedGroup the selectedGroup to set
     */
    public void setSelectedGroup(String[] selectedGroup) {
        this.selectedGroup = selectedGroup;
    }


    public void imprime(){
        System.out.println(studentKey + " " +
                ID_Curriculum + " " +
                semester + " " +
                selectedGroup.length+" "+ enrollType);
    }

    /**
     * @return the enrollType
     */
    public int getEnrollType() {
        return enrollType;
    }

    /**
     * @param enrollType the enrollType to set
     */
    public void setEnrollType(int enrollType) {
        this.enrollType = enrollType;
    }

}
